import axiosInstance from "../axiosInstance.js";

const customInfo={
    //注册用户接口
    add(user){
        console.log(typeof(user.tel));
        return axiosInstance.post('/custom-info/add',{
            'custom_name':user.name,
            'custom_sex':user.sex,
            'custom_birthday':user.birthday,
            'custom_tel':user.tel,
            'custom_email':user.email,
            'custom_address':user.address,
            'custom_pwd':user.pwd,
            'custom_photo':null
            }
        )
    }
}

export default customInfo;